Initial commit - index.php

Index page will redirect user depending on logged in state. Speculative
variable naming which is subject to change when implementing sessions.