Required login for users, clients, notes. Updated corresponding tests. Added some html for functionality