Updated example as parameters were incorrect

Added message to login exception