added input hidden field for forgothash and added div for displaying validation errors
defined reset function for user controller