add game actions
add getGames action TODO code
code refactoring