add error flashing with failed login