switching between account and log view on "LOG" button click