added mockito and junit for controller
edited logger