Minor performance gains

Only allowing the user to login once.