Added authentication checks to front end routing