changed post scenarios to check db instead of index page