Added some more class to handle logging a player in.