added more checking to create_account and create game pages