Modifying mvc framwork and login module.