Fix the bug that crashes app when using incorrect game name and password