Changed login procedure and cookie setting, some hickups still present
dont understand whats happening post does funny things
ammend