Added basic server-side registration
Added password security