Service and javascript on users page

Added a service for group and fixed some javascript on the userspage for
delete and create