Modified to fix login box size and register