Boston Logan airport to Lowell

First time in east coast. I will be arriving at Boston airport . I need to go to Lowell MA. I will have 2 checked bags and 1 carry on. Lyft/uber are showing $80. Is it safe to travel between 10pm - 12 AM?
Do you suggest spending night in the airport and travel in the morning? Is train from Boston to Lowell doable with luggage? Are there any other cheaper and safer options to commute?