fixed a issue with the log in error not showing