calling login handlers.