register,login,sqlite implement