Suppose any new user trying to login on confluence page then instead of showing not-permitted page I want to create a event to add that user to Active directory. but, I am not getting way to implement this. I am completely new to this confluence. please help on this to implement the behavior.