Added Sign in and out system with cookies