Added a method that allows users to check if a login error was generated.