Authentication module works