Fixes, login work