I don't know what script you are using.
A couple of tips when dealing with client scripts:
Check to see if you are registering any remote functions via the server scripts.
Make sure you are calling the client function correctly, if you authorize the login from the server. You need to have a matching path to a loaded client script, or it won't work.
Can you post an output of any errors you are getting?