Fix Login/register unable to use