cleaned up database and added a redirect