Implemented flash error to login