setup login page to use a fragment for the content