fix authentication and add validation of workout name