Login system written in PHP using MVC