basic sample for registration create basic blog and how to use library