fixed the show workout view and added a profile index for easier testing before login implementation