added validations for User model, also the schema was modified to add multitenancy support, the login was refactored, and associations to the models User and Accounts were added.