Changes made to login process