[Function] add log in page and db to store