clean out unused variable
make profile page driven by database
make home page driven by database