In the custom theming some times we need to display the custom Myaccount, Login and logout link on the header, the solution is given below: