extracted hooks from env.rb into hooks.rb, used @registered_user and deleted User.create from @signed_in