Added messages to actionlog
Fixes error when no user found by username
Added logout message to actionlog
Amendments relating to new construction of ActionLog