Define rule to validate form fields
Improve relationship between Notebook and Note
Change action index to notes
Fix layout and style for register page