Added show-profile-page for better user interaction (less confusing).
Replaced direct sql with orm-like interface.