User managment and base template