add registrations templates
fix login/logout