Added validations to models, added methods to controllers