trying to make login work