Added some changes on navbar, email automatic delivery, tests