added simple auth helpers