[support] Writing authentication module