User profile display and logout implementation