registering and login works, session variables still not working