after making bcrypted password changing the visibility of login and
logout buttons