refactor - login bypass rem