-adding model, adding simple login logic, adding some visual templates, minor tweaks