quering DB after fb login