use correct hook for redirect
Merge pull request #10 from geecu/fix/correct_redirection

use correct hook for redirect
fix linting error
log entry error
Merge pull request #11 from geecu/fix/linting_error

Fix/linting error
add log entry test
fix model tests
Merge pull request #12 from geecu/fix/log_entry_test

Fix/model tests