Added Loggin helper, it is included in the application controller so it can be used in every controller. Also removed unessesary created_date columns from notes and histories since it is included in every ruby on rails object