added getlogin