unified the role image size.
missed dependency.
changed id(int64) to uuid
tidied some codes.
improved invalid session handling