refractor user signin