Changed params[:users] to params[:user] in controller.
Added attr_accessible in model.