Fix #1. Added auth redirect