open new tab on btn-register click
added set-cookie, add user functions