added some new features in login/registering for user. Also added page 'edit user profile' partially