signIn and signOut funs attached to window property.