Fix bug in logger
Add Settings controller and implement API Key