setup user autentication controller, and template