Added template conditions to store

Login/logout link will be displayed based on current status