commit params[:username] is nill.