initial register and login functions created in users route. Created User model.
logout added