Added correct login process