basic user and game functionality and some tests