Added login logging