getting login key for session is hard..