convert to Idiorm. Finish user stuff. Add login/logout