User Information Retrieved from Database

Also incorporated the use of sessions. Messaging system still using
dummy info. Need to fix user details page if user does not exist.