Improved login page, added form controller and logout objects