Some bug fixes. Added user profile