running server with authentication