improved isAdmin method on App