Completed skeletal registration form.
Added logout functionality.