Changed return status in SessionResource