cleanup imports
fix indentation
don't use reserved word, 'id'
remove unused variables
remove unused image post handler
sessions expiration is handled by the Facebook JavaScript SDK. Checking
server side will fail.
handle case when user has a session but when trying to access Facebook
the authentication fails.