Only auto-login for select front end views
Remove unused mobile detection