Added profile page
Fixed syntax error in getting user profile