Improved the login system and implemented Player.