Script for user login module