fixed error on login, removed a var_dump