added login check to thread create page