added a controller for the workout. Also improved authentication and security issue. still a piece of shit thought.