using bytes for session, instead of sting type
fix
fix