Implement resource controller and forget password