structured Flask some more, added user model and auth view