error reporting and planning new login route