Fixed login/signup edit mode issue