Script to handle staff login started.