Scripted

added a separate dir for lua scripts
created a function to call a lua function when a user status changes (online/offline)