added front controller and admin part