Added common code and main controller
Added user controller
Added root .htaccess for more user-friendly URLs