remove obsolete function login()