Added server functionality for allowing users to join