Fixed a bug in server py where json serialisation would fail on 'self.current_user' since it's a byte string.