Added db commit
Merge pull request #3 from SebastianMerz/server

Added db commit