implementing facebook registration in database