A Facebook login implementation for learning purposes