abstract layer for fb login