added messagequeue and extra form input along with conditional for logged in users