requireLogin for postSubmit