Add authentication and autoredirects to dash