Data base work and finished login data read and write