Added sign in sessions and cookies management