setting up admin api
admin register
added admin policy
added admin funtion still intesting