checking params[:users] and using params[:user] could be a typo