Not knowing where you live, hard to answer. As Harley57 stated, ride what is best for you. His suggestion of riding the route you will take to work should be discussed with the dealership prior. I can tell you from experience that, at least here, if it is one of the demo bikes, the local PD know where they should be. The dealership will, depending on the customer and circumstances, sometimes set up an overnight 'loan' of a motorcycle to try out. That again would be something to discuss with your dealership.
As for the XL models, again, depends on the riding you will be doing and how comfortable you are on it. The owner of the oldest dealership here in my area still rides a Sporty more often than not. He grew up racing them, and loves how they feel and handle. He owns multiple dealerships and can ride any motorcycle he wants, his choice is the XL. So again, you have to choose what is right for you.
In the motorcycle classes here, the instructors state that you should pick a motorcycle to fit the style of riding you plan to do. For me, I also ride a touring bike a lot, but I need the lockable saddlebags and often do 1,000 mile rides in a day. So the bigger, touring style bike fits my riding style.
Test ride them all, including the Star and see what fits you and what you want. For a first bike, used may not be a bad choice, but then again, it depends on if you find something that you really want.
And if you haven't taken a safety course, I would recommend it, if nothing else, just to refresh your skills.