implmented DB - site not working now