remove extra footer I added by accident and more database call edits