Added user profile implementation + minor fixes