Added AppSettings, fixed homepage redirect