fix(api): use gamestate consts
feat(api): stubs for most game endpoints, complete create
feat(api): login password verification
WIP(api): session management
fix(api): check if user exists before hashing password on registration
feat(api): reimpl user registration