add template to routes + add getUserInfo + change API routes