implement user authenticate page