Library update and minor changes

Inserted a function that allows picture upload to the user's profile and
a function that checks if the user likes two (or possibly more) pages.