My Accounts adjusted

Added an if statement to switch only show My Accounts  if the user is logged in.