login and registration work again