fix create new user and add more rspec tests