Added sign in modal and fix for pagination