working db connexion, and user posts