finished presence server and logic(hopefully)+sot