further login work