Reorganize controllers, add separate login page