updated auth factory and controller
updated staff factory and controller