Removes dueling login/registration bug