fixed route in session controller test
changed from resuce to if statment
coverage