added helpers for signin and auth