def METHOD_NAME(self, username, user_id, group_id, projuser=None):
    logging.debug(
        "SESSION - User %s logged in. gid=%s / uid=%s "
        % (username, group_id, user_id)
    )
    self.username = username
    self.group_id = group_id
    self.user_id = user_id
    self.projuser = projuser