+Add connection to database
+Add authorization on server side
+Fix some bugs