close #18 replace model by repository for admin user api

to merge after #11 and then after #17