changed login flow and eliminated create login view