additional devise setup, with indentation fixes