adds logic to identify username or login name when user is logged in