connected database with loginServlet in myboostrap.jsp also tried some ajax calls to UserProfileServlet, added some more functions to ConnectionUtils such as authenticateUser etc. Next i will try to complete userprofile and connect it to database so that it shows some results. Also added messages to database and insertMessage from one user to another