init fb frontend and backend