adding referer information
adding logger and configuratiuon feature

you coud use the logger into your controller