connected database, working on MVC