Fixed password being hashed twice in reset password action, reverted template folder to previous location and simplified nginx configuration