print msgs in Controller and copy forgotPassword in election-commissioner