Refactor some code. Init number of coins at signup.
Merge pull request #25 from paulld/refactoring

Refactor some code. Init number of coins at signup.
Add public profile on frontend. Profile route on backend renamed to Settings. Redirect to root_url upon log in.
Merge pull request #26 from paulld/public_profile

Add public profile on frontend. Profile route on backend renamed to Settings