added server start and stop features
Complete authentication