Database Implementation to server