removed some redundancies in the way userId was accessed. Reduced some code and made the user profile the default user dashboard component