whoops, should be using params[:username] instead