transitioned to database

Small bug in the profile, displays wrong info, get variable not working
addFriends is a little buggy
login/logout
nav changed to allow for user quality to come from database
might want to check IpChecks