Added logging

- added log4net
- implemented logging on authentication