Created a REST method wrapper for much cleaner code. Now working on group assignment to users.