Fixed index route still pointing to admin folder; improvements in error handling