app: use save_user function in facebook, github and google+ login

Fix #1.