ticket:5 add tests
ticket:5 activated django login functionality
ticket:5 implemented ticket requirements and improved tests