Login and splash views
Login view logic