validations and admin settings for last date check is done