change in navigation and connecting to mysql database