Login working with DB, persistence mode = update, Updated init.sql