tests updated
specs added for user profile
unit tests added