Added CDI suport, finishing login page and starting owner page