Login with simple cache