Implement user actions and an API to query them, including private actions for future use and an action is now automatically created when a user is created. Added minimal unit test for actions.