Fix db table name when accessing for login; get rid of index.php in url