removing legacy user logic, adding rake task