adding rails log to application controller