Defining functions and before actions for editing.
Added an after_initialize function to create stat for new users
added additional route for editing stats
Filler HTML - must be changed.