adding game, levels function login and logout