login and login check works now