modified using email instead of id to associate post
added nav.php and signout.php