registration fixed/cookies implemented

now we are ready for login