Fixed Login hooks