pass login flag and email to post page