front end login process