Friends filter implemented on homepage

Changed userName field in status table to userID.
Fixed profile and friends page to make use of userID instead of
userName.
Added a userID session variable.