Added suport for custom action at the end of authentication
Added admin for `LoginCode`