This is a way of doing authorization for pyramid