rename main to app
setting up to allow switchingbetween username and password subviews of login view