add trans params, move defaults to macro declaration
refactor login, add panel template, add reseting templates