corrected a bug in Controllers, the id stored in the session was stored as binary not as the string representation of the int