Inprogress of adding password recovery mechanism

Moderate sized changes. And few bugs that are not mainly involved in
password recovery mechanism like logged in as a user when database
contain no record of that user when entering Manage.cshtml page.