Added secure password and tests for the User model