change main class to Server
fixed some clients not being included in authentication