Fix a condition
Fix a bug that failed the whole login
Add the purchase module
Merge pull request #17 from jarmokortetjarvi/master

Update the template