WIP: refactoring study show page