-Added helper method to generate email link
-added full test coverage around UserController