fixed digest issues with login and parseUser