Login, logout, createAccount fix: