Change the name of the $sess->user->role_name to just $sess->user->role