database navigation bar link has correct effects