Createuser and login function working
Implemented seriazable on the model objects