GON-21 Refactor Roles functionalities in angularjs to avoid usage of params
id:GON-21 fixed js errors when registering a new user
removed debugger
Added uniqueness of email to user creation