Encrypted messages through ParseInterface and used the database to store user details and selections of friends.