changed firebase URL
signout redirect fixed with a hacky $timeout method