add some features to prepare to  develop login