Addresed Anand's comment
updated get_admin