re-enabled authentication
Added model and controller test suites