Merge pull request #57 from Konviser/master

bug on Edit user profile
Blame spaces for weird behavior
create entry in UserProfile table while registeting new user