Fixed template url.
Merge pull request #34 from byteme/master

Login url fix in template.
Reformatted code to pep8 standards
Category url regex fix
Merge branch 'master' of https://github.com/ipri2013/l2ranking
Merge pull request #35 from krsh89/master

Pep8 and category slug url fix.
Fixed conflicts.