Implemented password reset feature and some changes to route.php

...as well as some minor bug fixes