add getAccessRight() function during authentification
adapt to getAccessRight() function
improve httpHandler