Added mobile redirect middleware