add user authentication and UserProvider
change templates extension to .twig
add authentication template