adds server logic 2
adds server logic 3
adds server logic 4
add server login 5
adds logic to the server 6
adds database schema
Fix rebase/merge mess