Added Sign In and Sign Out functionality