Linking to the database
Register features with $_SESSION['user'] mapping