Um, there's several reasons why your lotion is failing.
Instead of explaining it all here, you'd be better off going and reading up on proper lotion making at this wonderful blog...Point of Interest!: If you're new to lotion making...
She has step by step instructions and recipes that will work, even for beginners.
You didn't mention using a preservative in your post, please, please read up on why you need to use preservatives while you're researching on that blog too.