Corrected indentation
Robust Auth handing, if client is connected and already authenticated, validate the request