Nav bar is show when login, hide otherwise.
Append retry time interval to 5 seconds.
Logout button.