Check for config

Checks if config file exists and redirects to the install page if it doesn't,