added session authentication. added registration.