adding database at the server side