Using framework for login/registering

Changed structure so links go to iframe target, that way we don’t need
to recreate the wheel with each page made