added client side auth
added staging env
reverted to simple fb login