Fixed a login bug. Create the config page which connects to the CI database. Also setup a config form for user to fill out for configuration process.