worked on database and added navigation