added conditional login decorators