refactored the login and createUser methods of the test.  added published field to the note
refactored the views to override the correct methods and not do all the work in the dispatch