made login work