Added Sign in/ Sign out functionality