More modular authentications handlers implementation