Created user profile and fixed errors