method for re-setting user password


Added new methods in user model by which developers can set default password for different users. It will help developers to login to the application in case of any issue with different user accounts, I have kept the default password as 'Submify@1234'

From rails console, a developer can do something similar to this:

User.force_set_password('user@example.com'). This will enable the reset the password to the default password