fixed logout so it pulls up new login activity after finishing the note activity