Implemented initial login process