Refactor1

Test and refactor 2 views from quest/cpanel.py