making login work with modal, logout doesn't work