add error for bad login and remove session debug