fixed login and registration pages so the div resizes properly