Add part of login function and Add databse process file