registration bug fix login failed message did not show