implemented proper serverside handling of submission checking