Added if statements for user profile buttons to display correct button