Added http check to use as base for checking permissions