corrected many bugs and completed the user profile