user can now play vs ai
refactor postController