practice login changes as per nick's suggestion