Authentication local and facebook