Add firebase and functionatlity