Changed method to authenticate

Show a toast when login is successful