Fixed login form issues and registration link