added controller security; fixed resizing issue