A basic authentication sysytem