Added a function in views.py file to recover password