Updated Server

+ Added Socket
! Doesn't close qhen click de close button