Fixed bug in routes, loading too much data into session cookie