Added note controller
Added application controller for test auth
Application controller unit test
Improved comments and added admin & user versions
Updated unit tests