Improve admin
Allow get resource to also accept a path
Fixed int check