setting up login screen and tab views