Added login (not yet tested)