Added pre/post login events for remember