Added login to User and model. Added /login path and doc.