prevents logged in user from re-logging in
Merge branch 'preventlogin'