First pass of login code as component to remove game-login.php