implemented get login & password