Fixed Authentication and user profile