Create register.lua

added login checks and db updates