init for user registration/login
add updated base file for templates