moved login error alert to body of page