Added signout and fixed Init