new factories created and testing for admin vs student rights