Fixed syntax error in getting user profile
Added profile editing