Added correct login functionality.