update part2 - login with sqlite