Refactored the overload solution

the view probably shouldn't be accessing the session.. think about other ways to send data to the view