RE : developping a custom authentication module