Fixed login&register button when already logged in