Prefer to use reverse_url
Fixed restriction on AccountHandler
Fixed Sonar/pylint inspection for if nesting level