Where can i go to learn how to make login scripts and to intrept them? Is it hard to learn?

thanks all,
rblockmon